<template>
  <div>
    <p>内涝点编辑</p>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="date" label="编号"> </el-table-column>
      <el-table-column prop="name" label="名称"> </el-table-column>
      <el-table-column prop="address" label="经度"> </el-table-column>
      <el-table-column prop="address" label="纬度"> </el-table-column>
      <el-table-column prop="address" label="积水预警值"> </el-table-column>
      <el-table-column prop="address" label="所属区"> </el-table-column>
      <el-table-column prop="address" label="详细位置"> </el-table-column>
      <el-table-column prop="address" label="发现积水时间"> </el-table-column>
      <el-table-column prop="address" label="积水结束时间"> </el-table-column>
      <el-table-column prop="address" label="积水原因"> </el-table-column>
      <el-table-column prop="address" label="积水深度"> </el-table-column>
      <el-table-column prop="address" label="积水面积"> </el-table-column>
      <el-table-column prop="address" label="处置情况"> </el-table-column>
      <el-table-column prop="address" label="改造方案"> </el-table-column>
      <el-table-column prop="address" label="责任人"> </el-table-column>
      <el-table-column prop="address" label="联系方式"> </el-table-column>
      <el-table-column prop="address" label="是否改造完成"> </el-table-column>
    </el-table>
    <div class="one">
      <div><span>站点名称</span><el-input></el-input></div>
      <div>
        <span>所属区</span
        ><el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
      <div><span>积水预警值</span><el-input></el-input><span>nm</span></div>
    </div>
    <div class="two">
      <div><span>经度</span><el-input></el-input></div>
      <div><span>纬度</span><el-input></el-input></div>
      <div>
        <el-button type="small">定位</el-button
        ><el-button type="small">点透</el-button>
      </div>
    </div>
    <div class="three">
      <div><span>积水深度</span><el-input></el-input><span>nm</span></div>
      <div><span>积水面积</span><el-input></el-input><span>平方</span></div>
      <div><span>联系方式</span><el-input></el-input></div>
    </div>
    <div class="four">
      <div>
        <span>发现积水时间</span>
        <el-date-picker
          v-model="value1"
          type="datetime"
          placeholder="选择日期时间"
        >
        </el-date-picker>
      </div>
      <div>
        <span>积水结束时间</span>
        <el-date-picker
          v-model="value1"
          type="datetime"
          placeholder="选择日期时间"
        >
        </el-date-picker>
      </div>
    </div>
    <div class="five">
      <div>
        <span>积水原因</span
        ><el-input
          type="textarea"
          :rows="2"
          placeholder="请输入内容"
          v-model="textarea"
        >
        </el-input>
      </div>
      <div>
        <span>处置情况</span
        ><el-input
          type="textarea"
          :rows="2"
          placeholder="请输入内容"
          v-model="textarea"
        >
        </el-input>
      </div>
      <div>
        <span>改造方案</span
        ><el-input
          type="textarea"
          :rows="2"
          placeholder="请输入内容"
          v-model="textarea"
        >
        </el-input>
      </div>
    </div>
    <div class="six">
      <div><span>责任人</span><el-input></el-input></div>
      <div>
        <span>是否改造完成</span>
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </div>
    </div>
    <div class="senven"><span>详细位置</span><el-input></el-input></div>
    <div class="btn">
      <el-button type="small">增加</el-button>
      <el-button type="small">删除</el-button>
      <el-button type="small">修改</el-button>
      <el-button type="small">退出</el-button>
      <el-button type="small">更新内涝点图层</el-button>
    </div>
  </div>
</template>
<script></script>
<style scoped lang="less">
.a {
  width: 100%;
}
.one {
  display: flex;
  margin: 10px;
  align-items: center;
  div {
    display: flex;
    align-items: center;
    margin: 0 20px;
    .el-input,
    .el-select {
      width: 100px;
    }
  }
}
.two {
  display: flex;
  margin: 10px;
  align-items: center;
  div {
    display: flex;
    align-items: center;
    margin: 0 20px;
    .el-input,
    .el-select {
      width: 100px;
    }
    span {
      width: 40px;
    }
  }
}
.three {
  display: flex;
  margin: 10px;
  align-items: center;
  div {
    margin: 0 20px;
  }
  .el-input,
  .el-select {
    width: 100px;
  }
}
.four {
  display: flex;
  div {
    margin: 0 30px;
  }
}
.five {
  margin: 10px;
  display: flex;
  div {
    display: flex;
    align-items: center;
    margin: 0 20px;
    span {
      width: 50px;
    }
  }
}
.six {
  display: flex;
  align-items: center;
  div {
    display: flex;
    align-items: center;
    margin: 0 30px;

    .el-input,
    .el-select {
      width: 100px;
    }
  }
}
.senven {
  display: flex;
  align-items: center;
  padding-left: 30px;
  .el-input {
    margin-top: 10px;
    margin-left: 20px;
    width: 800px;
  }
}
.btn {
  padding-left: 30px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
}
</style>
